import 'package:dmz/base/pageWidget/base_stateful_widget.dart';
import 'package:dmz/business/home/controller/set_moto_controller.dart';
import 'package:dmz/business/home/widgets/set_moto_widgets.dart';
import 'package:flutter/material.dart';
import 'package:get/get.dart';

class ChangeParmsPage extends BaseStatefulWidget<SetMotoController> {
  @override
  String titleString() => '智能配置'.tr;

  @override
  bool delectControll() => false;

  @override
  Widget buildContent(BuildContext context) {
    if (controller.ebikeSet.power_value == null) {
      controller.getSettingInfor();
    }
    return SetMotoWidgets.parmsMainWidget();
  }
}
